﻿<MudPopoverProvider></MudPopoverProvider>

<div class="popoverparent">
	<p>Some Text</p>
	<MudPopover @ref="_popover" Open="_isOpen">
		<MudText>Popover content</MudText>
	</MudPopover>
</div>


@code {
	private MudPopover _popover;

	private bool _isOpen;

	public async Task Open()
	{
		_isOpen = true;
		await InvokeAsync(StateHasChanged);
	}

	public async Task Close()
	{
		_isOpen = false;
		await InvokeAsync(StateHasChanged);
	}

}